/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lc3vm;

/**
 *
 * @author Administrator
 */
import javax.swing.*;
import java.awt.*;

public class UnionPaneles extends JPanel{

    private JPanel PanelBotones = new JPanel();
    private JPanel PanelMemoria = new JPanel();
    private JPanel PanelConsolaRegistros = new JPanel();

    public UnionPaneles(){

        setLayout(new BoxLayout(this,BoxLayout.Y_AXIS));
        PanelConsolaRegistros.setLayout(new FlowLayout());

        PanelBotones.add(new PanelBotones());
        PanelConsolaRegistros.add(new PanelConsola());
        PanelConsolaRegistros.add(new PanelRegistros());
        PanelMemoria.add(new PanelMemoria());

        this.add(PanelBotones);
        this.add(PanelConsolaRegistros);
        this.add(PanelMemoria);
        
    }

}
